package com.xjtu.project.mapper;

import org.apache.ibatis.annotations.MapKey;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

public interface ReportMapper {
    @MapKey("name")//用name作为标志，可以通过这个name从list当中拿到map对象
    List<Map<String, Object>> getSalesTop10(LocalDateTime begin, LocalDateTime end);
    BigDecimal getTurnover(LocalDateTime begin, LocalDateTime end);
}
